import request from '@/utils/request1'
export function listMonthChart(scope,year,month,shop) {
    return request({
      url: '/system/pos/report/business?scope='+scope+'&time='+year+'-'+month+'&shop='+shop,
      method: 'get',
    })
  }
  export function listYearChart(scope,year) {
    return request({
      url: '/system/pos/report/business?scope='+scope+'&time='+year,
      method: 'get',
    })
  }

  export function listSaleChart(year) {
    return request({
      url: '/system/pos/report/sale?time='+year,
      method: 'get',
    })
  }